home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4299 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 64 6e | 73 2e 70 6c 61 6e 6f 2e |Path: dn|s.plano.|
|00000010| 6e 65 74 21 6e 65 77 73 | 09 0a 46 72 6f 6d 3a 20 |net!news|..From: |
|00000020| 43 68 61 72 6c 65 73 20 | 52 69 63 68 6d 6f 6e 64 |Charles |Richmond|
|00000030| 20 3c 72 69 63 68 6d 6f | 6e 64 40 70 6c 61 6e 6f | <richmo|nd@plano|
|00000040| 2e 6e 65 74 3e 0a 4e 65 | 77 73 67 72 6f 75 70 73 |.net>.Ne|wsgroups|
|00000050| 3a 20 63 6f 6d 70 2e 6c | 61 6e 67 2e 63 0a 53 75 |: comp.l|ang.c.Su|
|00000060| 62 6a 65 63 74 3a 20 52 | 65 3a 20 46 75 6e 63 74 |bject: R|e: Funct|
|00000070| 69 6f 6e 20 74 6f 20 63 | 61 6c 63 75 6c 61 74 65 |ion to c|alculate|
|00000080| 20 74 68 65 20 48 6f 6c | 79 20 45 61 73 74 65 72 | the Hol|y Easter|
|00000090| 0a 44 61 74 65 3a 20 33 | 20 46 65 62 20 31 39 39 |.Date: 3| Feb 199|
|000000a0| 36 20 30 37 3a 31 36 3a | 31 31 20 47 4d 54 0a 4f |6 07:16:|11 GMT.O|
|000000b0| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 43 61 6e |rganizat|ion: Can|
|000000c0| 69 6e 65 20 43 6f 6d 70 | 75 74 65 72 20 43 65 6e |ine Comp|uter Cen|
|000000d0| 74 65 72 0a 4d 65 73 73 | 61 67 65 2d 49 44 3a 20 |ter.Mess|age-ID: |
|000000e0| 3c 34 65 76 32 33 72 24 | 35 64 39 40 64 6e 73 2e |<4ev23r$|5d9@dns.|
|000000f0| 70 6c 61 6e 6f 2e 6e 65 | 74 3e 0a 52 65 66 65 72 |plano.ne|t>.Refer|
|00000100| 65 6e 63 65 73 3a 20 3c | 34 65 61 37 73 39 24 71 |ences: <|4ea7s9$q|
|00000110| 34 34 40 6c 65 70 6f 72 | 65 6c 6c 6f 2e 63 73 2e |44@lepor|ello.cs.|
|00000120| 75 6e 69 62 6f 2e 69 74 | 3e 20 3c 34 65 67 65 69 |unibo.it|> <4egei|
|00000130| 39 24 38 6d 69 40 67 72 | 79 70 68 6f 6e 2e 70 68 |9$8mi@gr|yphon.ph|
|00000140| 6f 65 6e 69 78 2e 6e 65 | 74 3e 0a 4e 4e 54 50 2d |oenix.ne|t>.NNTP-|
|00000150| 50 6f 73 74 69 6e 67 2d | 48 6f 73 74 3a 20 61 75 |Posting-|Host: au|
|00000160| 78 36 38 2e 70 6c 61 6e | 6f 2e 6e 65 74 0a 4d 69 |x68.plan|o.net.Mi|
|00000170| 6d 65 2d 56 65 72 73 69 | 6f 6e 3a 20 31 2e 30 0a |me-Versi|on: 1.0.|
|00000180| 43 6f 6e 74 65 6e 74 2d | 54 79 70 65 3a 20 74 65 |Content-|Type: te|
|00000190| 78 74 2f 70 6c 61 69 6e | 3b 20 63 68 61 72 73 65 |xt/plain|; charse|
|000001a0| 74 3d 75 73 2d 61 73 63 | 69 69 0a 43 6f 6e 74 65 |t=us-asc|ii.Conte|
|000001b0| 6e 74 2d 54 72 61 6e 73 | 66 65 72 2d 45 6e 63 6f |nt-Trans|fer-Enco|
|000001c0| 64 69 6e 67 3a 20 37 62 | 69 74 0a 58 2d 4d 61 69 |ding: 7b|it.X-Mai|
|000001d0| 6c 65 72 3a 20 4d 6f 7a | 69 6c 6c 61 20 31 2e 31 |ler: Moz|illa 1.1|
|000001e0| 4e 20 28 4d 61 63 69 6e | 74 6f 73 68 3b 20 49 3b |N (Macin|tosh; I;|
|000001f0| 20 36 38 4b 29 0a 54 6f | 3a 20 62 72 75 63 65 77 | 68K).To|: brucew|
|00000200| 40 70 68 6f 65 6e 69 78 | 2e 6e 65 74 0a 58 2d 55 |@phoenix|.net.X-U|
|00000210| 52 4c 3a 20 6e 65 77 73 | 3a 34 65 67 65 69 39 24 |RL: news|:4egei9$|
|00000220| 38 6d 69 40 67 72 79 70 | 68 6f 6e 2e 70 68 6f 65 |8mi@gryp|hon.phoe|
|00000230| 6e 69 78 2e 6e 65 74 0a | 0a 62 72 75 63 65 77 40 |nix.net.|.brucew@|
|00000240| 70 68 6f 65 6e 69 78 2e | 6e 65 74 20 28 42 72 75 |phoenix.|net (Bru|
|00000250| 63 65 20 57 65 64 64 69 | 6e 67 29 20 77 72 6f 74 |ce Weddi|ng) wrot|
|00000260| 65 3a 0a 3e 63 68 69 65 | 72 69 63 69 40 63 73 2e |e:.>chie|rici@cs.|
|00000270| 75 6e 69 62 6f 2e 69 74 | 20 28 41 6e 64 72 65 61 |unibo.it| (Andrea|
|00000280| 20 43 68 69 65 72 69 63 | 69 29 20 77 72 6f 74 65 | Chieric|i) wrote|
|00000290| 3a 0a 3e 3e 63 61 6e 20 | 61 6e 79 62 6f 64 79 20 |:.>>can |anybody |
|000002a0| 73 65 6e 64 20 6d 65 20 | 74 68 65 20 43 20 66 75 |send me |the C fu|
|000002b0| 6e 63 74 69 6f 6e 20 74 | 6f 20 63 61 6c 63 75 6c |nction t|o calcul|
|000002c0| 61 74 65 20 74 68 65 20 | 64 61 79 20 6f 66 20 74 |ate the |day of t|
|000002d0| 68 65 20 45 61 73 74 65 | 72 0a 3e 3e 67 69 76 65 |he Easte|r.>>give|
|000002e0| 6e 20 74 68 65 20 79 65 | 61 72 3f 0a 3e 20 20 20 |n the ye|ar?.> |
|000002f0| 20 20 5b 73 6e 69 70 2e | 2e 2e 5d 20 20 20 20 20 | [snip.|..] |
|00000300| 5b 73 6e 69 70 2e 2e 2e | 5d 20 20 20 20 20 20 5b |[snip...|] [|
|00000310| 73 6e 69 70 2e 2e 2e 5d | 0a 3e 20 20 20 20 20 20 |snip...]|.> |
|00000320| 2a 2a 20 20 47 61 75 73 | 73 27 20 66 61 6d 6f 75 |** Gaus|s' famou|
|00000330| 73 20 61 6c 67 6f 72 69 | 74 68 6d 20 28 49 20 64 |s algori|thm (I d|
|00000340| 6f 6e 27 74 20 6b 6e 6f | 77 20 68 6f 77 20 6f 72 |on't kno|w how or|
|00000350| 20 77 68 79 20 69 74 20 | 77 6f 72 6b 73 2c 0a 3e | why it |works,.>|
|00000360| 20 20 20 20 20 20 2a 2a | 20 20 73 6f 20 74 68 65 | **| so the|
|00000370| 72 65 27 73 20 6e 6f 20 | 63 6f 6d 6d 65 6e 74 69 |re's no |commenti|
|00000380| 6e 67 29 0a 3e 20 20 20 | 20 20 20 2a 2f 0a 3e 20 |ng).> | */.> |
|00000390| 20 20 20 20 5b 73 6e 69 | 70 2e 2e 2e 5d 20 20 20 | [sni|p...] |
|000003a0| 20 20 5b 73 6e 69 70 2e | 2e 2e 5d 20 20 20 20 20 | [snip.|..] |
|000003b0| 20 5b 73 6e 69 70 2e 2e | 2e 5d 0a 3e 0a 72 69 63 | [snip..|.].>.ric|
|000003c0| 68 6d 6f 6e 64 40 70 6c | 61 6e 6f 2e 6e 65 74 20 |hmond@pl|ano.net |
|000003d0| 28 43 68 61 72 6c 65 73 | 20 52 69 63 68 6d 6f 6e |(Charles| Richmon|
|000003e0| 64 29 20 77 72 6f 74 65 | 3a 0a 54 68 65 20 66 6f |d) wrote|:.The fo|
|000003f0| 6c 6c 6f 77 69 6e 67 20 | 69 73 20 61 20 70 72 6f |llowing |is a pro|
|00000400| 67 72 61 6d 20 74 6f 20 | 63 61 6c 63 75 6c 61 74 |gram to |calculat|
|00000410| 65 20 74 68 65 20 64 61 | 74 65 20 6f 66 20 45 61 |e the da|te of Ea|
|00000420| 73 74 65 72 2e 20 49 74 | 20 69 73 20 62 61 73 65 |ster. It| is base|
|00000430| 64 20 0a 6f 6e 20 74 68 | 65 20 45 61 73 74 65 72 |d .on th|e Easter|
|00000440| 20 61 6c 67 6f 72 69 74 | 68 6d 20 69 6e 20 4b 6e | algorit|hm in Kn|
|00000450| 75 74 68 27 73 20 5f 46 | 75 6e 64 61 6d 65 6e 74 |uth's _F|undament|
|00000460| 61 6c 20 41 6c 67 6f 72 | 69 74 68 6d 73 5f 2c 0a |al Algor|ithms_,.|
|00000470| 77 68 69 63 68 20 69 73 | 20 61 74 74 72 69 62 75 |which is| attribu|
|00000480| 74 65 64 20 74 6f 20 61 | 20 31 36 74 68 20 63 65 |ted to a| 16th ce|
|00000490| 6e 74 75 72 79 20 70 72 | 69 65 73 74 2e 20 45 6d |ntury pr|iest. Em|
|000004a0| 61 69 6c 20 6d 65 20 69 | 66 20 79 6f 75 20 77 6f |ail me i|f you wo|
|000004b0| 75 6c 64 20 0a 6c 69 6b | 65 20 74 6f 20 73 65 65 |uld .lik|e to see|
|000004c0| 20 74 68 65 20 74 65 78 | 74 20 6f 66 20 74 68 65 | the tex|t of the|
|000004d0| 20 61 6c 67 6f 72 69 74 | 68 6d 20 77 69 74 68 20 | algorit|hm with |
|000004e0| 65 78 70 6c 61 6e 61 74 | 69 6f 6e 2e 0a 0a 46 72 |explanat|ion...Fr|
|000004f0| 6f 6d 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 49 |om infor|mation I|
|00000500| 20 68 61 76 65 20 67 61 | 74 68 65 72 65 64 20 6f | have ga|thered o|
|00000510| 6e 20 74 68 65 20 57 45 | 42 2c 20 74 68 65 20 47 |n the WE|B, the G|
|00000520| 61 75 73 73 69 61 6e 20 | 61 6c 67 6f 72 69 74 68 |aussian |algorith|
|00000530| 6d 20 0a 63 61 6c 63 75 | 6c 61 74 65 73 20 74 68 |m .calcu|lates th|
|00000540| 65 20 64 61 74 65 20 6f | 66 20 4f 72 74 68 6f 64 |e date o|f Orthod|
|00000550| 6f 78 20 28 6f 72 20 50 | 61 73 63 68 61 29 20 45 |ox (or P|ascha) E|
|00000560| 61 73 74 65 72 2e 20 54 | 68 65 20 4b 6e 75 74 68 |aster. T|he Knuth|
|00000570| 20 61 6c 67 6f 72 69 74 | 68 6d 20 0a 63 61 6c 63 | algorit|hm .calc|
|00000580| 75 6c 61 74 65 73 20 74 | 68 65 20 64 61 74 65 20 |ulates t|he date |
|00000590| 6f 66 20 74 68 65 20 57 | 65 73 74 65 72 6e 20 45 |of the W|estern E|
|000005a0| 61 73 74 65 72 2e 20 54 | 68 65 73 65 20 64 61 74 |aster. T|hese dat|
|000005b0| 65 73 20 6f 66 74 65 6e | 20 61 72 65 20 0a 64 69 |es often| are .di|
|000005c0| 66 66 65 72 65 6e 74 2e | 20 54 68 65 20 4f 72 74 |fferent.| The Ort|
|000005d0| 68 6f 64 6f 78 20 45 61 | 73 74 65 72 20 2a 61 6c |hodox Ea|ster *al|
|000005e0| 77 61 79 73 2a 20 66 6f | 6c 6c 6f 77 73 20 50 61 |ways* fo|llows Pa|
|000005f0| 73 73 6f 76 65 72 2e 20 | 54 68 65 20 57 65 73 74 |ssover. |The West|
|00000600| 65 72 6e 20 0a 45 61 73 | 74 65 72 20 64 6f 65 73 |ern .Eas|ter does|
|00000610| 20 2a 6e 6f 74 2a 20 74 | 72 61 63 6b 20 50 61 73 | *not* t|rack Pas|
|00000620| 73 6f 76 65 72 2e 0a 0a | 4d 61 79 62 65 20 49 20 |sover...|Maybe I |
|00000630| 61 6d 20 2a 77 72 6f 6e | 67 2a 20 68 65 72 65 2e |am *wron|g* here.|
|00000640| 20 49 66 20 61 6e 79 6f | 6e 65 20 68 61 73 20 6d | If anyo|ne has m|
|00000650| 6f 72 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 2c |ore info|rmation,|
|00000660| 20 70 6c 65 61 73 65 20 | 70 6f 73 74 2e 0a 0a 0a | please |post....|
|00000670| 0a 0a | |.. | |
+--------+-------------------------+-------------------------+--------+--------+